/**
 * 
 */
package cn.panda.edu.service;

import cn.panda.edu.model.Section;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**  
 * 类描述：  
 */
public interface SectionService {
	/**
	 * 
	* @Title: getAllSection 
	* @Description: TODO(这里用一句话描述这个方法的作用) 
	*@param sectionName
	*@return  
	* List<Section>
	 */
	List<Section> getAllSection(String sectionName,Integer courseId);
	/**
	 * 
	* @Title: selectByCourseId 
	* @Description: 通过课程id查看章节信息
	* @param selectId
	* @return  
	 */
	List<Section> selectByCourseId(Integer courseId, Integer pageIndex);
	
	/**
     * 
    * @Title: insertSelective 
    * @Description: 动态添加章节
    * @param @param record
    * @param @return  
    * @return int
     */
    int insertSelective(Section record);
    /**
     * 
    * @Title: updateByPrimaryKeySelective 
    * @Description:	动态更新章节
    * @param @param record
    * @param @return  
    * @return int
     */
    int updateByPrimaryKeySelective(Section record);
}
